Many PHP programmers use echo, print_r (), var_dump (), and printf () for debugging. Although this is sufficient for programmers with rich development experience, during program execution, they can output the values of specific variables to
Xdebug document (iii) stack tracing and xdebug document stack Tracing
When xdebug is activated, once PHP displays notifications, warnings, or errors, xdebug displays stack trace information. This stack information can be configured and displayed
Many PHP programmers use echo, print_r (), var_dump (), and printf () for debugging. Although this is sufficient for programmers with rich development experience, during program execution, they can output the values of specific variables to
Install and use XDebug, a PHP debugging tool. Many PHP programmers use echo, print_r (), var_dump (), and printf () for debugging. Although this is sufficient for programmers with rich development experience, they can often use echo, print_r (), var_
The combination of xdebug in PHP is a good combination for debugging in PHP. The following describes how to use xdebug in PHP:
1. Installation in Windows
Download Site http://www.xdebug.org/
Be sure to use a version that works with your PHP, such
Xdebug is an open-source PHP debugger that is loaded and used as a PHP module. It can be used to track, debug, and analyze the running status of PHP programs.
Php5.2.13 is used as an example,
1. Download The php_xdebug-2.1.0-5.2.dll file,
Http://www.
Xdebug Document (iii) stack trace, xdebug document Stack trace
When Xdebug is activated, PHP xdebug displays the stack trace information as soon as the notification, warning, or error is displayed. This stack of information can be configured to
Xdebug document (2) variable display features, xdebug document. Xdebug (II) variable display feature. xdebug can replace the var_dump () function of PHP to display variable values. The xdebug version includes array element object attributes for
Xdebug is a PHP-oriented debugger and profiling tool. In addition to more debugging information, Xdubug can also provide developers with a lot of information, such as: memory consumption of PHP scripts, total number of calls to a function, and time
Integrate xdebug in php (windows platform ). First, go to xdebug. orgdownload. download xdebug from php. if you do not know which one to download, go to xdebug. orgwizard. in php, when you run PHPinfo, the source of the webpage is displayed first to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.